#ifndef Inventory_h
#define Inventory_h

#include <iostream>

#include <map>

#include "Hud.h"
#include "StageManager.h"
#include "AbstractStage.h"

class Inventory {
public:
	Inventory();
	~Inventory();

	void init();

	void addClue(int id, std::string fileName);
	void removeClue(int id);
	bool hasClue(int id);
	bool gaveClue(int id);

	void addCloth(int id, std::string fileName);
	void removeCloth(int id);
	bool hasCloth(int id);

private:
	osg::ref_ptr<osg::Geometry> drawPics(std::string fileName, osg::Vec3 pos);

	std::map<int,osg::ref_ptr<osg::Geometry> > m_mclues;
	std::vector<int> m_vgivenClues;
	std::map<int,osg::ref_ptr<osg::Geometry> > m_mclothes;

	Hud* hud;
	int clothNb;
	int clueNb;
};

#endif // Inventory_h
